package com.lzj.service;

import com.lzj.entity.Meeting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @autor:lzj
 * @date:2022/3/1
 */
public interface MeetingService {
    int addMeeting(Meeting meeting);
    int addParticipants(int meetingid,int[] mps);
    Long getTotal(Meeting meeting,List<Integer> empsIdByDepName,List<Integer> mrIdByName);//获取记录
    List<Meeting> getAllMeeting(Meeting meeting,List<Integer> empsIdByDepName,List<Integer> mrIdByName,int page,int pageSize);//分页查询
    Meeting getMeetingById(int meetingid);
    List<Meeting> getMybookings(int reservationistid,String status);
    int updateMeetingStatusById(Meeting meeting,Date canceledtime, String status);
    List<Meeting> getMeetingByMtIdAndSta(List<Integer> meetingByEmpId,int employeeid,String status);

}
